package com.lc.YYGH.hosp.service;

import com.lc.YYGH.model.hosp.Schedule;
import com.lc.YYGH.vo.hosp.ScheduleOrderVo;
import com.lc.YYGH.vo.hosp.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void save(Map<String,Object> map);
    Page<Schedule> selectPage(int page, int limit, ScheduleQueryVo scheduleQueryVo);
     //删除排班
    void removeSchedule(String hoscode, String hosScheduleId);
    Map<String,Object> getRuleSchedule(long page,long limit,String hoscode,String depcode);
    List<Schedule> getDetailSchedule(String hoscode, String depcode, String workDate);
    //获取可预约的排班数据
    Map<String,Object> getBookingScheduleRule(int page,int limit,String hoscode,String depcode);

    //获取排班id获取排班数据
    Schedule getScheduleId(String scheduleId);
    //根据排班id获取预约下单数据
    ScheduleOrderVo getScheduleOrderVo(String scheduleId);


    void update(Schedule schedule);


}
